package org.gikolet.ch2.dao;

import java.util.List;

import org.gikolet.ch2.data.Board;

public interface BoardsDao {
	void create(Board board) throws DaoException;

	Board find(Long id) throws DaoException;

	Board findHostNameAndPath(String hostName, String path) throws DaoException;

	List<Board> findAll() throws DaoException;

	void update(Board board) throws DaoException;

	void delete(Long id) throws DaoException;

	void deleteAll();
}
